package com.amir.common


import android.app.Application
import androidx.multidex.MultiDex
import com.amir.common.api.HttpManager
import com.amir.common.utils.Constant
import com.amir.common.utils.SPUtils
import com.amir.common.utils.ToastUtil
import com.amir.common.utils.Utils


open class BaseApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        HttpManager.getInstance().init(applicationContext)
        MultiDex.install(applicationContext)
        SPUtils.instance(applicationContext)
        ToastUtil.init(applicationContext)
        Constant.initContentx(applicationContext)
        Utils.setContext(applicationContext)
    }
}
